package com.study.talk.module.netty.message.response;

import com.study.talk.module.netty.message.MessageType;
import com.study.talk.module.netty.message.TalkMessage;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *  同意添加好友消息响应
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AcceptResponse extends TalkMessage {

    @ApiModelProperty("邀请方id")
    private Integer inviteUserId;

    @ApiModelProperty("被邀请方id")
    private Integer invitedUserId;

    @ApiModelProperty("被邀请方昵称")
    private String invitedName;

    @ApiModelProperty("是否同意邀请")
    private Boolean success;

    @Override
    public byte getType() {
        return MessageType.ACCEPT_RESPONSE;
    }
}
